package com.mall.order.feign;

import com.mall.common.utils.Result;
import com.mall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author: 谢君臣
 * @Date: 2022/8/9-22:24
 * @version: 1.0
 * @function:
 */
@FeignClient("cartServer")
public interface CartFeignClient {

    @GetMapping("/cart/items")
    Result<List<OrderItemVo>> getCurrentCartItems();
}
